TableColumns
Type
property
Summary
Get or set the data array that the Table uses to build columns.
Syntax
get the TableColumns of <widget>
set the TableColumns of <widget> to <columnsArray>
Description
Use the TableColumns property to get or set the structure of columns. The first dimension of the array uses numeric keys, each one corresponding to a column index.
Internal structure of each key is as follows:
- TableColumns[index]["name"] 
is a string. - TableColumns[index]["label"] 
is a string. - TableColumns[index]["width"] 
is an integer. - TableColumns[index]["minWidth"] 
is an integer. - TableColumns[index]["maxWidth"] 
is an integer. - TableColumns[index]["contentType"]
is text|svg-LCname|imageData|imageFile|color|boolean|autoIncrement. - TableColumns[index]["visible"] 
is a boolean. - TableColumns[index]["resizable"] 
is a boolean. - TableColumns[index]["contentAlignment"] 
is left|center|right. - TableColumns[index]["headerAlignment"] 
is left|center|right. - TableColumns[index]["shape"] 
is none|circle|pill. - TableColumns[index]["color"] 
is a RGBA Color. - TableColumns[index]["backColor"] 
is a RGBA Color. - TableColumns[index]["defaultValue"] 
is a string. - TableColumns[index]["sortType"]
is none|international|numeric|dateTime|text|binary. - TableColumns[index]["sortDirection"] 
is ascending|descending. - TableColumns[index]["editableColumn"] 
is a boolean.